interface TypeSta {
  title: string
  age: number
}
interface TypeFun<T> {
  getTitle: (value: T) => T
  setTitle: (value: T) => void
}

interface TypeAll extends TypeSta, TypeFun<string> {
  isOk?: boolean
};

// interface ruleType{
//   name:string
//   require:boolean
// }

type ruleType = {
  name: string
  require: boolean
}
export { TypeAll, ruleType }